<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>



<fieldset id="createApplication_fieldset">
	<legend><bean:message key="application.evaluationCreate.legend.title" /></legend>
<html:form action="/application" method="post" styleId="createApplication_form">	
		<html:hidden property="cmd" value="addEval" />
<c:if test="${evalFreelance}" >
		<p>
			<label for="commentManager" accesskey="L"><bean:message key="application.evaluationCreate.grade" /> :</label>
			<html:select property="gradeManager">
				<html:option value="1">1</html:option>
				<html:option value="1">2</html:option>
				<html:option value="1">3</html:option>
				<html:option value="1">4</html:option>
				<html:option value="1">5</html:option>
			</html:select>
		</p>
		<p>
			<label for="commentManager" accesskey="L"><bean:message key="application.message" /> :</label>
		</p><p>
			<html:textarea property="commentManager"></html:textarea>
		</p>
</c:if>
<c:if test="${evalManager}" >
		<p>
			<label for="commentFreelance" accesskey="L"><bean:message key="application.evaluationCreate.grade" /> :</label>
			<html:select property="gradeFreelance">
				<html:option value="1">1</html:option>
				<html:option value="1">2</html:option>
				<html:option value="1">3</html:option>
				<html:option value="1">4</html:option>
				<html:option value="1">5</html:option>
			</html:select>
		</p>
			<label for="commentManager" accesskey="L"><bean:message key="application.message" /> :</label>
		</p>
		<p>
			<html:textarea property="commentFreelance"></html:textarea> 
		</p>
</c:if>
<p id="submit">
	<html:reset><bean:message key="application.create.cancel" /></html:reset>
	<html:submit><bean:message key="application.create.validate" /></html:submit>
</p>

</html:form>
</fieldset>

